package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 合作商设置表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_merchants_setting")
@ApiModel(value = "XhMerchantsSetting对象", description = "合作商设置表")
public class XhMerchantsSetting implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("关联合作商ID")
    private Integer merchantsId;

    @ApiModelProperty("押金类型：0.未设置,1.永久押金,2.免押金")
    private Integer depositType;

    @ApiModelProperty("合作商押金设置")
    private BigDecimal depositMoney;

    @ApiModelProperty("分成比例，小数")
    private BigDecimal proportion;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

}
